

set WaveNoCode="Feb"
set filter="where (record - {189,287,411,499,568,625,787,837,931,1367,1471,1675,1755,1975,2371,2466,2654,3149,3737,5017,6926,7236,6813,7155} ^> {})"
mrScriptCL Updatedata.mrs /d:WAVENO="\"%WaveNoCode%\"" /d:oedata="\"%WaveNoCode%\updatedata.txt\""    >> MasterLog.txt
DMSRun clean.dms /d"str_filter \%filter%\" /d"WAVENO \"%WaveNoCode%\""  /d"WAVE_NEXTCASE \"%WaveNoCode%\sbOnNextCase.mrs\""     >> MasterLog.txt

set WaveNoCode="Feb_Booster"
set filter="where (record ^> 0)"
::mrScriptCL Updatedata.mrs /d:WAVENO="\"%WaveNoCode%\"" /d:oedata="\"%WaveNoCode%\updatedata.txt\""    >> MasterLog.txt
::DMSRun clean.dms /d"str_filter \%filter%\" /d"WAVENO \"%WaveNoCode%\"" /d"WAVE_NEXTCASE \"%WaveNoCode%\sbOnNextCase.mrs\""      >> MasterLog.txt

set WaveNoCode="Mar"
set filter="where (record ^> 0)"
mrScriptCL Updatedata.mrs /d:WAVENO="\"%WaveNoCode%\"" /d:oedata="\"%WaveNoCode%\updatedata.txt\""    >> MasterLog.txt
DMSRun clean.dms /d"str_filter \%filter%\" /d"WAVENO \"%WaveNoCode%\"" /d"WAVE_NEXTCASE \"%WaveNoCode%\sbOnNextCase.mrs\""      >> MasterLog.txt


 if exist "77406817_UPDATE.mdd" ( del "77406817_UPDATE.mdd")
 if exist "77406817_FINAL.ddf"  ( del "77406817_FINAL.ddf")

DMSRun MergeData.dms >> MasterLog.txt
